home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: gail.ripco.com!mambuhl
- From: mambuhl@ripco.com (Martin Ambuhl)
- Subject: Re: malloc.h
- Message-ID: <Dq5JFu.Czv@rci.ripco.com>
- X-Nntp-Sender: mambuhl@cook.ripco.com
- Sender: usenet@rci.ripco.com (Net News Admin)
- Organization: Ripco Internet BBS Chicago
- Date: Sat, 20 Apr 1996 08:26:18 GMT
-
- hartigan@sonic.net (dennis hartigan)
- in <hartigan-1704961430130001@news.sonic.net> asks:
-
- >i have some source that i found and it includes a header file named
- ><malloc.h>...i have 4 books on C, and not one of them mention this
- >header...can someone tell me what is in this prototype???
-
- No one can tell you definitively what is in this header file, since it
- is non-standard. Any implementation that supplies such a header is
- showing its non-ANSI/ISO history, since malloc() is prototyped in
- stdlib.h.
-
- In some DOS implementations, various non-standard aliases for
- the standard malloc(), free(), realloc(), calloc() are provided as
- well as for the non-standard coreleft() (and the non-standard "far" and
- "huge" versions of these).
-
- Just forget malloc.h. Use stdlib.h and the right names for the standard
- functions.
-
-
- --
- * Martin Ambuhl net: mambuhl@ripco.com
- * Chicago, IL (USA)
-